package T03_PreparedStatementUse.pojo;


import java.util.Date;

public class Order {

	private Integer orderId;

	private String orderName;

	private Date orderDate;


	public Integer getOrderId() {
		return orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	public String getOrderName() {
		return orderName;
	}

	public void setOrderName(String orderName) {
		this.orderName = orderName;
	}

	public Date getOrderDate() {
		return orderDate;
	}

	public void setOrderDate(Date orderDate) {
		this.orderDate = orderDate;
	}

	public Order() {
	}

	@Override
	public String toString() {
		return "Order{" +
				"orderId=" + orderId +
				", orderName='" + orderName + '\'' +
				", orderDate=" + orderDate +
				'}';
	}

	public Order(Integer orderId, String orderName, Date orderDate) {
		this.orderId = orderId;
		this.orderName = orderName;
		this.orderDate = orderDate;
	}
}
